package atm.com.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.File;
import java.util.Date;

/**
 * @author di zhang
 * @date 2021/8/24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseEntity {
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
    @TableField(fill = FieldFill.INSERT)
    private String reviser;
    @TableLogic(value = "0",delval = "1")
    private Integer isDeleted;
    @TableField(fill = FieldFill.INSERT)
    private Integer status;

}
